﻿<Window x:Class="GesturePlayer.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="GesturePlayer" Height="599" Width="785" WindowState="Maximized" WindowStyle="None" Loaded="Window_Loaded">
    <Window.Background>
        <LinearGradientBrush StartPoint="0,1" EndPoint="0,0">
            <GradientStop Color="Black" Offset="0.0" />
            <GradientStop Color="DarkGray" Offset="1.0" />
        </LinearGradientBrush>
    </Window.Background>
    
    <Grid ShowGridLines="False">
        <Grid.RowDefinitions>
            <RowDefinition Height="344*" />
            <RowDefinition Height="214*" />
        </Grid.RowDefinitions>
        <MediaElement Margin="0,0,179,4" Name="meAudioFile" Height="35" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="47" Grid.Row="1" MediaOpened="meAudioFile_MediaOpened" LoadedBehavior="Play" SnapsToDevicePixels="False" />
        <Button HorizontalAlignment="Left" Margin="0,0,0,3" Name="btnPreviousAlbum" Width="104" Click="btnPreviousAlbum_Click" FontSize="100" ForceCursor="False">&lt;</Button>
        <Button HorizontalAlignment="Right" Margin="0,0,0,3" Name="btnNextAlbum" Width="104" Click="btnNextAlbum_Click" FontSize="100" ForceCursor="False">&gt;</Button>
        <Label Height="41" Margin="110,0,0,58" Name="label1" VerticalAlignment="Bottom" Foreground="White" HorizontalAlignment="Left" Width="111" FontSize="25">Künstler:</Label>
        <Label Foreground="White" Height="41" Margin="218,0,110,58" Name="lblArtist" VerticalAlignment="Bottom" FontSize="25">{ARTIST}</Label>
        <Label Foreground="White" Height="45" Margin="110,7,110,0" Name="lblTrackTitle" VerticalAlignment="Top" FontSize="25" Grid.Row="1">{TITLE}</Label>
        <Label Foreground="White" HorizontalAlignment="Left" Margin="110,0,0,3" Name="label5" Width="92" FontSize="25" Height="49" VerticalAlignment="Bottom">Album:</Label>
        <Label Foreground="White" Margin="218,0,110,3" Name="lblAlbum" FontSize="25" Height="48.849" VerticalAlignment="Bottom">{ALBUM}</Label>
        <Button Height="43" HorizontalAlignment="Right" Margin="0,0,110,4" Name="btnClose" VerticalAlignment="Bottom" Width="63" Click="btnClose_Click" Grid.Row="1">Schließen</Button>
        <Slider Height="25" Margin="110,0,232,57" Name="sldTrackPosition" VerticalAlignment="Bottom" Grid.Row="1" TickFrequency="1" SmallChange="0.1" IsSnapToTickEnabled="False" LargeChange="1" TickPlacement="None" IsDirectionReversed="False" IsEnabled="False" />
        <Image Margin="110,12,110,105" Name="imgCover" HorizontalAlignment="Stretch" StretchDirection="DownOnly" />
        <Button HorizontalAlignment="Left" Name="btnPreviousTitle" Width="104" Click="btnPreviousTitle_Click" Margin="0,3,0,0" Grid.Row="1" FontSize="100" ForceCursor="False">&lt;</Button>
        <Button HorizontalAlignment="Right" Name="btnNextTitle" Width="104" Click="btnNextTitle_Click" Margin="0,3,0,0" Grid.Row="1" FontSize="100" ForceCursor="False">&gt;</Button>
        <Slider Value="{Binding Mode=TwoWay, ElementName=meAudioFile, Path=Volume}"  Grid.Row="1" Height="47" Margin="110,0,0,4" Name="sldVolume" VerticalAlignment="Bottom" Orientation="Vertical" HorizontalAlignment="Left" Width="25" Minimum="0" Maximum="1"  />
        <Label Grid.Row="1" Height="34" Margin="0,0,110,57" Name="lblTime" VerticalAlignment="Bottom" Foreground="White" FontSize="20" HorizontalAlignment="Right" Width="116" HorizontalContentAlignment="Right"></Label>
        <Image Grid.Row="1" Height="40" Margin="164,0,0,4" Name="imgRepeat" Stretch="Fill" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="40" Source="/GesturePlayer;component/ImageResources/repeat_off.png" />
        <Image Height="40" HorizontalAlignment="Left" Margin="210,0,0,4" Name="imgShuffle" Source="/GesturePlayer;component/ImageResources/shuffle_off.png" Stretch="Fill" VerticalAlignment="Bottom" Width="40" Grid.Row="1" />
    </Grid>
</Window>
